package com.brillilab.elsearch.constants;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix="spring.data.elasticsearch")
@Data
public class ElsearchConfig {

    private String chineseAnalyzer;

    private String englishAnalyzer;

    private Integer phrasePrefixBoost;

    private Integer matchAndBoost;

    private Integer matchOrBoost;

    private String minimumShouldMatch;

    private Integer BoostOne=1;

}
